home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / f90 / len_trim.z / len_trim
Encoding:
Text File  |  1998-10-30  |  1.5 KB  |  40 lines

  1. LEN_TRIM(3I)                                           Last changed: 1-6-98
  2.  
  3.  
  4. NNAAMMEE
  5.      LLEENN__TTRRIIMM - Returns the length of the character argument without
  6.      counting trailing blank characters
  7.  
  8. SSYYNNOOPPSSIISS
  9.      LLEENN__TTRRIIMM (([SSTTRRIINNGG==]_s_t_r_i_n_g))
  10.  
  11. IIMMPPLLEEMMEENNTTAATTIIOONN
  12.      UNICOS, UNICOS/mk, and IRIX systems
  13.  
  14. SSTTAANNDDAARRDDSS
  15.      Fortran 90
  16.  
  17. DDEESSCCRRIIPPTTIIOONN
  18.      The LLEENN__TTRRIIMM intrinsic function returns the length of the character
  19.      argument without counting trailing blank characters.  It accepts the
  20.      following argument:
  21.  
  22.      _s_t_r_i_n_g    Must be of type character
  23.  
  24.      LLEENN__TTRRIIMM is an elemental function.  The name of this intrinsic cannot
  25.      be passed as an argument.
  26.  
  27. RREETTUURRNN VVAALLUUEESS
  28.      The result type is a default integer value.  The result has a value
  29.      equal to the number of characters remaining after any trailing blanks
  30.      in _s_t_r_i_n_g are removed.  If the argument contains no nonblank
  31.      characters, the result is 0.
  32.  
  33. EEXXAAMMPPLLEESS
  34.      LLEENN__TTRRIIMM(('' AA BB  '')) has the value 4.  LLEENN__TTRRIIMM((''  '')) has the value 0.
  35.  
  36. SSEEEE AALLSSOO
  37.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
  38.      printed version of this man page.
  39.  
  40.